package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@ApiModel("退库信息实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WithdrawalAssets {

  @ApiModelProperty(name = "id",notes = "id",dataType = "Integer")
  private Integer withdrawalId;
  @ApiModelProperty(name = "state",notes = "办理状态",dataType = "String")
  private String state;
  @ApiModelProperty(name = "withdrawalNumber",notes = "退库单号",dataType = "String")
  private String withdrawalNumber;
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  @ApiModelProperty(name = "withdrawalDate",notes = "退库日期",required = true,value = "yyyy-MM-dd")
  private Timestamp withdrawalDate;
  @ApiModelProperty(name = "withdrawaler",notes = "退库人",dataType = "String")
  private String withdrawaler;
  @ApiModelProperty(name = "withdrawalRegion",notes = "退库后区域")
  private String withdrawalRegion;
  @ApiModelProperty(name = "withdrawalStoragePoint",notes = "退库后存放点")
  private String withdrawalStoragePoint;
  @ApiModelProperty(name = "businessCompany",notes = "业务所属公司")
  private String businessCompany;
  @ApiModelProperty(name = "withdrawalRemarks",notes = "退库备注",dataType = "String")
  private String withdrawalRemarks;
  @ApiModelProperty(name = "handlers",notes = "处理人",dataType = "String")
  private String handlers;
  @ApiModelProperty(name = "approveProgress",notes = "审批进度",dataType = "String")
  private String approveProgress;
}
